
set(LINK_LIBRARIES
    GTest::gtest
    GTest::gtest_main
)


include_directories(${CMAKE_SOURCE_DIR}/src/utf_check)

add_executable(utf_check_test utf_check_test.cc)
target_link_libraries(utf_check_test PRIVATE utf_check gtest ${LINK_LIBRARIES})

#add_test(NAME ReaderTest COMMAND utf_check_test)
include(GoogleTest)
gtest_discover_tests(utf_check_test 
  WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/test/src/utf_check
)

set_target_properties(utf_check_test PROPERTIES
  RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin
)